

package com.base.test.mutual.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * token
 *
 * @author carl
 * @since 1.0.0
 */
@Data
@ApiModel(value = "Bsc 返回token信息")
public  class BscAuthToken implements Serializable {
    private static final long serialVersionUID = 4301688958561391676L;
    @ApiModelProperty(value = "token值")
    @JSONField(name = "AccessToken")
    private String accessToken;

    @ApiModelProperty(value = "过期时间")
    @JSONField(name = "ExpireIn")
    private Integer expireIn ;

    @ApiModelProperty(value = "刷新token")
    @JSONField(name = "RefreshToken")
    private String refreshToken ;

    @ApiModelProperty(value = "用户账号")
    @JSONField(name = "UserCode")
    private String userCode ;

    @ApiModelProperty(value = "用户ID")
    @JSONField(name = "UserId")
    private String userId ;

    @ApiModelProperty(value = "用户名")
    @JSONField(name = "UserName")
    private String userName ;

    @ApiModelProperty(value = "是否存储到Reids")
    @JSONField(name = "StoreRedis")
    private Boolean storeRedis ;
    private Date expiration ;

}